package cn.edu.scut.sys.dao;

import java.util.List;

import cn.edu.scut.sys.vo.User;

public interface UserDao {

	public Long count();
	
	public List<User> list(int start, int limit, String sort, String sidx);
	
	public void insert(User user); 
	
	public User getUser(Long id);
	
	public boolean updateUser(User user) ;
	
	public User getUserByName(String name);
}
